package com.nzw.pojo.project;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Table;

import org.springframework.web.bind.annotation.GetMapping;




/**
 * 
 * @author yinwx
 *
 */
@Table(name="t_project")
public class Project {
	
	private Long id;			//id
	private String name;		//作品名称
	private String image;		//主图
	private Integer referPrice;	//参考价格
	private Long catId;			//分类id
	private Long userId;		//用户id
	private String describe; 	//描述
	private Date createDate;	//创建时间
	private Date modifyDate;	//修改时间
	private Boolean isDel;		//是佛别删除
	private String errorReason;	//审核失败原因
	private Integer state;		//状态
	
	@Column(name="id")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	
	@Column(name="name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Column(name="image")
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	
	@Column(name="referPrice")
	public Integer getReferPrice() {
		return referPrice;
	}
	public void setReferPrice(Integer referPrice) {
		this.referPrice = referPrice;
	}
	
	@Column(name="catId")
	public Long getCatId() {
		return catId;
	}
	public void setCatId(Long catId) {
		this.catId = catId;
	}
	
	@Column(name="userId")
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	
	
	@GetMapping(name="describe")
	public String getDescribe() {
		return describe;
	}
	public void setDescribe(String describe) {
		this.describe = describe;
	}
	
	
	@Column(name="createDate")
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date creatDate) {
		this.createDate = creatDate;
	}
	
	@Column(name="modifyDate")
	public Date getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	
	@Column(name="isDel")
	public Boolean getIsDel() {
		return isDel;
	}
	public void setIsDel(Boolean isDel) {
		this.isDel = isDel;
	}
	
	@Column(name="errorReason")
	public String getErrorReason() {
		return errorReason;
	}
	public void setErrorReason(String errorReason) {
		this.errorReason = errorReason;
	}
	
	@Column(name="state")
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	
	
		
	
	
	
	
	
	

}
